package com.sky.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "aliyun.oss") // 指定读取的配置文件前缀
public class AliyunOSSProperties {
    private String endpoint; // 阿里云OSS的endpoint
    private String bucketName;
    private String region; // 阿里云OSS的区域
}
